runtime.sweepLocker.sweepGen (field)
10 uses
runtime (current package)
mgcsweep.go#L166: if sl.sweepGen != mheap_.sweepgen {
mgcsweep.go#L328: sweepGen uint32
mgcsweep.go#L344: if atomic.Load(&s.sweepgen) != l.sweepGen-2 {
mgcsweep.go#L348: if !atomic.Cas(&s.sweepgen, l.sweepGen-2, l.sweepGen-1) {
mgcsweep.go#L384: if !(s.sweepgen == sl.sweepGen || s.sweepgen == sl.sweepGen+3) {
mgcsweep.go#L385: print("runtime: bad span s.state=", state, " s.sweepgen=", s.sweepgen, " sweepgen=", sl.sweepGen, "\n")
mgcsweep.go#L490: if spangen == sl.sweepGen || spangen == sl.sweepGen+3 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |